public static void main(String args[]) throws IOException {
		// startup AD-HOC network
		boolean isWindows = System.getProperty("os.name").startsWith("Windows");
		if (isWindows) {
			
			System.out.println("Please boot this application on Linux");
			//System.exit(0);//  even weggehaald omdat ik anders niet kan testen <3 FLO
			
			// linux
		} else {
			try {
				DEVICE = getIP(WLAN).getAddress()[3];
				System.out.println(DEVICE + " ");
			} catch (SocketException | UnknownHostException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
		}
		
		if(DEVICE < MAXNODES && DEVICE > 0)
		{
			// register shutdown
			Runtime.getRuntime().addShutdownHook(
			    new Thread() {
			        public void run() {
			        	
			        	System.out.println("Shutting down");
			        	IntegrationProject.Communication.shutDown();
			        	
			        }
			    }
			);
			
			// Start project
			new IntegrationProject();
		} else {
			System.err.println("It appears you are not in the Ad-hoc network. Shutting down.");
		}
	}