 
 class SwiftPush {
     
+    //MARK: Variables
+    
     private let mAPIKey: String
     private let mURLContacts: String = "https://api.pushbullet.com/v2/contacts"
     private let mURLDevices: String = "https://api.pushbullet.com/v2/devices"

                }
        }
    }
}
            parameters["email"] = email!
        }
        push(responseHandler, parameters: parameters, url: mURLPushes)
    }
    
    func requestUploadAuthorization(fileName: String, filePath: String) {
        let params: [String : AnyObject] = ["file_name" : fileName]
        Alamofire.request(.POST, mURLUploadRequest, parameters: params, encoding: .JSON)
            .authenticate(user: mAPIKey, password: mAPIKey)
            .responseJSON {(request, response, output, error) in
                self.uploadFile(self.parseUploadRequest(JSON(data: output as NSData)), filePath: filePath)
        }
    }
    
    func uploadFile(file: File, filePath: String) {
        var fileData = NSFileManager.defaultManager().contentsAtPath(filePath)
        Alamofire.upload(.POST, file.uploadURL, fileData!)
            .progress { (bytesWritten, totalBytesWritten, totalBytesExpectedToWrite) in
                println(totalBytesWritten)
            }
            .responseJSON { (request, response, json, error) in
                println(json)
        }
    }
    
    //MARK: Creation
