initial commit for EntityManager