Changed the config file read / write methods to use a general hash approach.