Added the ability to change the config of a submodule.
Added the ability to change config of the main modules.