Documentation

Adds inline docstrings for client and server, as well as instrumentation for generating an annotated source site. Encountered some inaccurate naming while I was doing this and fixed them.

Upon changes: `make docs`