Also enabled the latest C++ revision in the project. Various other fixes and improvements.
Consolidated and simplified the module API system. Various other fixes and improvements.