Docstrings and some comments.

This branch just adds docstrings to methods and classes, as well as some clarifying comments.  Neat little app!