     
     public init() {
         
+    }
+    
+    public func set(object:T, key:String) {
+        Preferences().setPreference(object, key: key)
     }
     
     public func get(key:String, defaultValue:T) -> T {

        }
    }
    
    public func preference(key:String) -> AnyObject? {
        return self.userDefaults.objectForKey(key)
    }

        }
        return defaultValue
    }
    
    public func stringValue(key:String, defaultValue:String?) -> String? {
        if let result = self.userDefaults.objectForKey(key) as? String {
            return result
        }
        return defaultValue
    }
        
    public func remove(key:String) {
        self.userDefaults.removeObjectForKey(key)
