Starting in on docstring, comment and code cleanup.
More cleanups.
Continuing cleanup
Starting work cleaning up query classes.
Just a few more docstrings.