public static void serverCommands() {
        BufferedReader r = new BufferedReader(new InputStreamReader(System.in));
        try {
            String command = r.readLine();
            do {
                switchCommands(command);
            } while (!(command = r.readLine()).contains("killall"));
            r.close();
        } catch (IOException e) {

        }
        System.exit(0);
        System.out.println("server shutdown");
    }