Dynamic service locator implementation