Documentation

Adds docstrings and a first draft of a user manual.
Oops. Old name.