Move Deserialize settings to settings class