Fix config

Add ConfigLoader interface which handles loading and saving of config files.
The AbstractConfig will no longer handle these functions.