             let alarms = Alarm(alarmHigh: aHigh, alarmLow: aLow, alarmTimeAgoUrgent: aTAU, alarmTimeAgoUrgentMins: aTAUMin, alarmTimeAgoWarn: aTAW, alarmTimeAgoWarnMins: aTAWMin, alarmUrgentHigh: aTUH, alarmUrgentLow: aTUL)
             
             let language = defaultsDictionary[ConfigurationPropertyKey.languageKey] as! String
-        
+            
             defaultsDefaults = Defaults(units: units, timeFormat: timeFormat, nightMode: nightMode, showRawbg: showRawbg, customTitle: customTitle, theme: theme, alarms: alarms, language: language, showPlugins: nil, enable: nil, thresholds: nil, defaultFeatures: nil)
         }
         

    public var careportalEnabled: Bool?
    public var enabledOptions: [EnabledOptions]?
    public var defaults: Defaults?
//    public let settings: Defaults?
    public var unitsRoot: Units?
    public var head:String?
    public var version: String?

    static let versionKey = "version"
    
    // Not implmented yet
    static let extendedSettingsKey = "extendedSettings"
    static let settingsKey = "settings"
    static let enableKey = "enable"
    static let showPluginsKey = "showPlugins"
}

public struct ServerConfiguration: CustomStringConvertible {
