Write header documentation, first pass

Resolves #4.

Uses [appledoc](https://github.com/tomaz/appledoc) format, with `///`-comments for layout consistency.