Minor refactorings, new documentation

Added documentation and recompiled the docs. Documentation is now up to
date.

Moved more classes into utility.