Create class EntityManager