config file refactored.