A rudimentary service locator written using C++11 constructs