public static void main(String[] args) {
		RessourceManager rMngr;
		String adress = null;
		try {
			adress = InetAddress.getLocalHost().getHostAddress();
		} catch (UnknownHostException e) {
			e.printStackTrace();
		}

		List<PeerClient> clientList = new ArrayList<PeerClient>();
		int j = 16;
		for (int i = 1; i <= 20; i++) {
			if ((j + 2) > 20) {
				j = 1;
			}
			PeerInfo info = new PeerInfo("Peer " + i, 6000 + i, 3);
			rMngr = new RessourceManager();
			rMngr.addRessource("Ressource 1",
					"Some ressource could be a file or something");
			info.setRessourceManager(rMngr);

			info.getNodeManager().addEntry(adress, 6000 + (j + 1),
					"Peer " + (j + 1));

			info.getNodeManager().addEntry(adress, 6000 + (j + 2),
					"Peer " + (j + 2));

			clientList.add(new PeerClient(info));
			j++;
		}

		// random6000(clientList, adress);
		// random6000(clientList, adress);
		// random6000(clientList, adress);
		// random6000(clientList, adress);

		for (PeerClient tmp : clientList) {
			System.out.println(tmp.getNodeManager().getSelf());
			System.out.println(tmp.getNodeManager().getNodeTable());
			System.out.println();
		}

		for (PeerClient tmp : clientList) {
			try {
				tmp.startPeer();
			} catch (IOException e) {
				e.printStackTrace();
			}
		}

	}