Modeling the Behavior of Macromolecules at Interfaces