public void doGet(HttpServletRequest req, HttpServletResponse resp) throws IOException {
		resp.setContentType("application/json");
		
		JsonObject json = (JsonObject)new JsonParser().parse(req.getParameter("jsonParameter"));
		JsonObject jsonHouse = json.getAsJsonObject("house");
		
		house.setLocation(jsonHouse.get("city").toString(), jsonHouse.get("country").toString());
		
		double power = CalculatePower.calculate(75,CalculatePower.efficiency(45, "n", 0),7,DAILY);
		
		String JSONoutput = "{" +
				" \"Results\": {" +
					" \"Daily Power Generation\": \"" + power + "\"," +
					" \"Annual Power Generation\": \"" + power * ANNUAL + "\" }" +
				" }";
		
		PrintWriter out = resp.getWriter();
		out.println(JSONoutput);
		//out.println(house.getRoof(0).getName());
		System.out.println(house.getCity());
		//out.println(req.getParameter("jsonParameter"));
		System.out.println("Test");
		System.out.println(req.getParameter("jsonParameter"));
	}