 	struct SCOptions {
 		static let supportedAPIVersion = "1.0"
 		static let supportedForecastAPIVersion = "1.0"
-		static let useStagingAPI = false
+		static let useLocalhost = false
 	}
 
 	struct URL {
 		static let apiBaseURL = "http://api.parkendd.de/"
-		static let apiBaseURLStaging = "https://staging-park-api.higgsboson.tk/"
+		static let apiBaseURLLocalhost = "http://localhost:5000"
 		static let nominatimURL = "https://nominatim.openstreetmap.org/"
 	}
 

	- parameter completion: handler that is provided with a list of supported cities or an error wrapped in an SCResult
	*/
	static func sendMetadataRequest(_ completion: @escaping (Metadata?, SCError?) -> Void) {
		let metadataURL = SCOptions.useStagingAPI ? URL.apiBaseURLStaging : URL.apiBaseURL
		UIApplication.shared.isNetworkActivityIndicatorVisible = true
		Alamofire.request(.GET, metadataURL).responseJSON { (_, response, result) -> Void in
			UIApplication.sharedApplication().networkActivityIndicatorVisible = false
			guard let response = response else { completion(nil, .Request); return }
			guard response.statusCode == 200 else { completion(nil, .Server); return }
			guard let data = result.value else { completion(nil, .Server); return }
			
			let metadata = Mapper<Metadata>().map(data)
			
			// TODO: I have a feeling that this will die mapping the data before being able to check the version if something substantial changes...
			guard metadata?.apiVersion == SCOptions.supportedAPIVersion else {
				NSLog("Error: Found API Version \(metadata!.apiVersion). This version of ParkenDD can however only understand \(SCOptions.supportedAPIVersion)")
				completion(nil, .IncompatibleAPI)
				return
			}
			

		]

		UIApplication.shared.isNetworkActivityIndicatorVisible = true
		let forecastURL = SCOptions.useLocalhost ? URL.apiBaseURLLocalhost + "/Dresden/\(lotID)/timespan" : URL.apiBaseURL + "/Dresden/\(lotID)/timespan"
        Alamofire.request(forecastURL, method: .get, parameters: parameters).responseJSON { response in
			UIApplication.shared.isNetworkActivityIndicatorVisible = false
//			guard let response = response else { completion(nil, .Request); return }
			if response.response?.statusCode == 404 { completion(nil, .notFound); return }
			guard response.response?.statusCode == 200 else { completion(nil, .server); return }
			guard let data = response.result.value as? String else { completion(nil, .server); return }
			
            let forecastData = Mapper<ForecastData>().map(JSONString: data)
			
			guard let fData = forecastData?.data else { completion(nil, .server); return }
			
			if fData.isEmpty {
				completion(nil, .noData)
				return
			}
			
