moved load and save to settings class