int port = 8080;
if(args.length > 0)
port = Integer.valueOf(args[0]);
PytteServer server = new PytteServer(port);
System.out.println("Starting server...");
try {
server.runServer();
} catch(IOException e) {
System.err.println("Could not start the server\n" + e.getMessage());
}
}