Angular inspired generalized Service Locator library