 
 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"

        return Device(ID: ID, pushToken: pushToken, nickname: nickname, manufacturer: manufacturer, model: model, type: type, appVersion: appVersion, active: active, pushable: pushable)
    }
    
    private func push(responseHandler: ((NSError?) -> ())?, parameters: [String : AnyObject], url: String) {
        Alamofire.request(.POST, url, parameters: parameters, encoding: .JSON)
            .authenticate(user: mAPIKey, password: mAPIKey)

                }
        }
    }
    
    /// Provide a responseHandler to get the error or the updated device
    func updatePush(pushID: String, dismissed: Bool, responseHandler:((Push?, NSError?) -> ())?) {
        var modifiedURL = mURLPushes + "/" + pushID
        var parameters: [String : AnyObject] = [
            "dismissed" : dismissed
        ]
        Alamofire.request(.POST, modifiedURL, parameters: parameters, encoding: .JSON)
            .authenticate(user: mAPIKey, password: mAPIKey)
            .responseJSON {(request, response, output, error) in
                if responseHandler != nil {
                    if error != nil {
                        responseHandler!(nil, error)
                    }
                    else {
                        let json = JSON(data: output as NSData)
                        responseHandler!(self.parsePushData(json), nil)
                    }
                }
        }
    }
    
    //MARK: Deletion
    
    /// Provide a responseHandler to get a possible error
