 	/// Expert project translations into a file
 	func exportProjectTranslation(projectID: Int, languageCode: String, type: ExportType, completion: WebServiceCompletionHandler<URL>?)
 	{
+		precondition(token != nil, "API Token not set")
+
 		let parameters = ["api_token" : token,
 		                  "action" : "export",
 		                  "id": projectID,

	}()
	
	/// API Token to pass with all requests
	var token = "ea5a73dbeea02e992e36671d437679d9";
	
	// MARK: - Public Interface
	
	/// List projects
	func listProjects(completion: WebServiceCompletionHandler<[JSONDictionary]>?)
	{
		let parameters = ["api_token" : token,
		                  "action" : "list_projects"]
		let request = URLRequest.formPost(url: endpoint, fields: parameters)

	}
	
	/// Creates a data task which picks out the correct result from the JSON dictionary
	private func responseProcessingDataTask<T>(with request: URLRequest, resultKey: String, completion: WebServiceCompletionHandler<T>?)->URLSessionDataTask
	{
		return session.dataTaskReturningJSON(with: request) { (result) in
			
