Add docs, changelog, tests. Closes #4. Closes #8.