made entityManager a listener of entities. Now Entity dont need entityManager anymore