public void load() {
		this.extractLibs();
		this.gson = new Gson();
		
		if (!new File("config.yml").exists()) Config.saveConfig();
		Config.loadConfig();
		
		//Servericon
		if (new File("server-icon.png").exists()) {
			try {
				BufferedImage image = ImageIO.read(new File("server-icon.png"));
				this.icon = "data:image/png;base64," + ImageUtils.encodeToString(image, "png");
				System.out.println("Found Server-Icon.");
			} catch (Exception e) {
				this.icon = "";
				System.err.println("Can't load Server-Icon: " + e.getMessage());
				e.printStackTrace();
			}
		}
		
		this.thread = new PacketListener(this);
		this.thread.start();
	}