Implemented a VERY simple service locator to make it easy for users to customize everything