Documentation

Adds docstrings and a first draft of a user manual.
I just realised this should be user-error. My bad. :)