Added injection of service locator to application obj