locator: Add service locator class.