public static void run()
	{
		ws = WebServers.createWebServer(Config.i().listening_port);
		if(Config.i().disable_ssl)
			log.info("SSL disabled in config");
		else
			try
			{
				// To generate new certificate use smth like:
				// $ keytool -genkey -alias webCrt -keystore keystore -keysize 1024 -validity 3600
				ws.setupSsl(Ws.class.getResourceAsStream("keystore"), "password");
			}
			catch(Exception e)
			{
				log.error("Certificate not found. Not going to SSL", e);
				ws = WebServers.createWebServer(Config.i().listening_port);
			}
		ws
			.add(new StaticFileHandler("./var"))
		;
		ws
			.add("/orders", new OrdersHandler())
			.add("/order", new OrderHandler())
			.add("/order/status", new OrderStatusHandler())
			.add("/order/accept", new OrderAcceptHandler())
			.add("/cart", new CartHandler())
			.add("/history", new HistoryHandler())
			.add("/", new LoginHandler())
			.add("/change_status", new ChangeStatusHandler())
			.add("/change_delivery", new ChangeDeliveryHandler())
			.add("/loopback", new LoopbackHandler())  //TODO: Delete me
			.add(new NotFoundHandler())
		;
		try
		{
			log.info("Starting web server listening at {}", ws.getPort());
			ws.start().get();
		}
		catch(Exception e)
		{
			log.error(e.toString(), e);
		}
	}