Removed depricated EntityManager functions and changed the container call.
Merge pull request #1 from Schwierig/removeDeprecatedFunctions

Removed depricated EntityManager functions and changed the container cal...