Small refactoring of the modules coding style.
Adds configuration file management.