 	
         let url = "https://" + settings.domainToUse + "/api"
         
-        let request = Alamofire.request(url, method: .get, parameters: ["act":"listLanguages", "APIKEY": settings.APIKEY, "deviceID": settings.deviceID, "appID": settings.appID])
+        let request = AF.request(url, method: .get, parameters: ["act":"listLanguages", "APIKEY": settings.APIKEY, "deviceID": settings.deviceID, "appID": settings.appID])
         request.validate()
         request.responseJSON { response in
 		

			#endif
				
            switch response.result {
                case .success:
                    // make sure we got JSON and it's an array of dictionaries
                    guard let json = response.result.value as? [String: AnyObject] else {
                        #if DEBUG
                            print("Error: \(#function)\n", response.result.error!)
                        #endif
                        
                        failureHandler("Did not get JSON array in response")


        let url = "https://" + settings.domainToUse + "/api/"
        
        let request = AF.request(url, method: .get, parameters: ["act": settings.highFiActCategory, "usedLanguage": settings.useToRetrieveLists, "APIKEY": settings.APIKEY, "deviceID": settings.deviceID, "appID": settings.appID])
        request.validate()
        request.responseJSON { response in
			
