//Customer commands
else if (mainArg.equalsIgnoreCase("last"))
this.cmd = new LastCmd(sender, args);
else if (mainArg.equalsIgnoreCase("undo"))
this.cmd = new UndoCmd(sender, args);
else if (mainArg.equalsIgnoreCase("unit"))
this.cmd = new UnitCmd(sender, args);
else if (mainArg.equalsIgnoreCase("message") || mainArg.equalsIgnoreCase("messages"))
this.cmd = new MessageCmd(sender, args);