Added remove command. Still need to test.

Some other edits were also made. Nothing has been tested so far. Things
of worry:
- undo() in each command needs testing
- test replace, hasn't been tested at all