An OSGi-like C++ dynamic service registry