simple console app implementing the Command Pattern (also implements undo)