public void run(){
		HttpServer server = null;
		try {
			server = HttpServer.create(new InetSocketAddress(PORT), 0);
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
        server.createContext("/rooms", new MyHandler());
        server.setExecutor(null); // creates a default executor
        server.start();
	}