Wrote a lot of code. Not tested it to at any level of thoroughness,
though.
Oops, this should have gone in the previous commit.
It compiles!
All tests pass as well!