Added the possibility to disable modules

Needs some documentation
Merge branch 'disable-modules'