public static ModelCommand getCommand(String commandName) {

        for (Iterator<ModelCommand> iterator = commands.iterator(); iterator.hasNext();) {

            ModelCommand command = iterator.next();

            if (commandName.equals(command.getCommand())) {
                return command;
            }

        }

        return null;
    }