Modeling and application of a a coarse-grained force field for surfactants and polymeric membranes