     }
     
     static func baseURL() -> String {
-        return "https://api.kuggleland.com/1/"
+        return "https://api.kuggleland.com/2/"
     }
     
     func getRequest(endpointName: String, token: AnyObject?, params: AnyObject?, getRequestCompletionHandler: (json: AnyObject?, responseError: NSError?) -> Void) {

        var request = NSMutableURLRequest()
        if let p : Dictionary<String, String> = params as? Dictionary<String, String> {
            if (methodName == "GET" || methodName == "DELETE") {
                var urlStringWithParams = urlString + "?" + query(p)
                request = NSMutableURLRequest(URL: NSURL(string: urlStringWithParams)!)
            } else {
                // POST or PUT with params (dont put them in URL)

    
    func query(parameters: [String: AnyObject]) -> String {
        var components: [(String, String)] = []
        for key in Array(parameters.keys).sort(<) {
            let value: AnyObject! = parameters[key]
            components += self.queryComponents(key, value)
        }
        
        return (components.map{"\($0)=\($1)"} as [String]).joinWithSeparator("&")
    }
}
