Store settings in an ordered map to allow for runtime getting and setting of settings.  Read the setting file on startup, then write on shut down.