Transform EntityManager into Singleton