 }
 
 
+
+// TODO: Should this be here?
 enum DesiredColorState {
     case Alert, Warning, Positive, Neutral
 }
 
+// TODO: Should this be here? Maybe it shuld be a threshold extension.
 extension ServerConfiguration {
     
     func boundedColorForGlucoseValue(value: Int) -> DesiredColorState {

        if let thresholds = self.thresholds {
            if (value > thresholds.bg_high) {
                color = .Alert
            } else if (value > thresholds.bg_target_top) {
                color =  .Warning
            } else if (value >= thresholds.bg_target_bottom && value <= thresholds.bg_target_top) {
                color = .Positive


enum AlarmTypes: String {
    case predict = "predict"
    case simple = "simple"
}

struct Defaults: Printable {
