added entitymanager initializers to global service locator as well as to controller service locator