Refactoring of config file.