An OSGi-like C++ dynamic module system and service registry