 import ObjectMapper
 
 
-public class SimpleRestClient : NSObject {
+class SimpleRestClient : NSObject {
     
     private var url : String;
     private var apiKey : String?;

                        }
                    }
                    else {
                        let err = NSError(domain: "org.septa.error", code: -101, userInfo: nil)
                        reject(err)
                    }
                }

        return Promise<T?> { (fulfill, reject) -> Void in
            
            func parsingError(erroString : String) -> NSError {
                return NSError(domain: "org.septa.SimpleRestClient", code: -100, userInfo: nil)
            }
            
            request(route.URLString, method: method, parameters: parameters, headers: headers).responseJSON { (response) -> Void in
                
                // debugPrint(response.result.value ?? "Warning: empty response")   // dump the response

                if let error = response.result.error {
                    reject(error) //network error
