Changed config class to save defaults to disk if none are present.