Title: Statistical mechanics of polymers near an interface and in confined geometries