Some refactorization of config module
Layouts not deprecated any more
Cleaned not useful logs and added explanatory comments
refs #1209