public QubeClient(String ip, int port) throws IOException {
		
		client = new Client();
		Packets.registerPackets(client.getKryo());
		client.start();
		client.addListener(new ClientListener());
	    client.connect(5000, ip, port);
	    
	}