Improved configuration file loader; fixed configuration parsing bug