added command history

The animated gif needs updating but we should wait until things stabilize.
The comment block on lines 30-35. A doc comment is like all the comments I have before classes and methods in the other file. A comment that documents what it precedes.