filled out loading and saving of config and testing