adding loading of "dependsOn" loading of modules, other minor tweaks