Added an Entity class and an EntityManager.