Revert "Load configuration file"

This reverts commit d6774689f3edc56d4fbb993a888a87dbafa155bf.
Revert "Revert "Load configuration file""

This reverts commit de861e9aecd5430bc9d87ac3f4eec6bd24a118e7.
Added some comments, cleaning

Read history, if you haven't already.