refactor: ServiceLocator