Reorganization of module building logic. Added button to menu bar to manually build module (in case content packages are modified after being attached to the module).