     func didCompleteWithError(errorMessage: String)
     func didCompleteWithDictionary(results: NSDictionary)
     func didCompleteWithXML(results:XMLIndexer)
+    func didCompleteWithArray(results: NSArray)
+    func didComplete(results: NSString)
 }
 
-class GovDataRequest {
+class GovDataRequest : NSObject, NSURLSessionDelegate {
     
     var delegate: GovDataRequestProtocol? = nil
-
+    
     var APIKey = ""
     var APIHost = ""
     var APIURL = ""
     var responseFormat = "JSON"
     var timeOut = 60.0
+    
+    let URL_API_V1 = "http://api.dol.gov"
+    let URL_API_V2 = "https://data.dol.gov"
     
     init(APIKey: String, APIHost: String, APIURL:String) {
         self.APIKey = APIKey

                    queryString += "&" + argKey + "=" + argValue
                }
            }

        }
        
        //If there are arguments, append them to the url

//
//  GovDataRequest.swift
//
//
//  Created by Michael Pulsifer (U.S. Department of Labor) on 6/18/14.
//  License: Public Domain
