ModuleManager

This adds plain ModuleManager functionality to core. It also contains a live-cycle test of a module.