Documentation

Adds docstrings and a first draft of a user manual.
Ah, makes much more sense. Will change.