Add service locator to application