public void proccessCommand(String cmd) {
        String name = cmd;
        if (cmd.indexOf(' ') != -1) {
            name = cmd.substring(0, cmd.indexOf(' '));
        }

        if (commands.containsKey(name)) {
            String args = "";
            if (cmd.indexOf(' ') != -1) {
                args = cmd.substring(0, cmd.indexOf(' '));
            }
            try {
                CommandArgs arg0 = new CommandArgs(name, cmd.substring(name.length()));
                arg0.setCommandline(this);
                commands.get(name).execute(arg0);
            } catch (Exception e) {
                e.printStackTrace();
            }

        } else {
            println("Command Not Found");
        }
    }