Changed the way the configuration file is loaded/parsed