C++ Factory class that supports built-in and run-time modules.