Remove EntityManager
Merge pull request #1 from tadcka/master

Remove deprecated use of EntityManager.