refactored some config files