Old config file update

Added functions to parse old and new config files.