Add documentation

Closes #24.