NodeJS based service locator with explicit dependency management