Development notes.

Closes #26.
Lots of changes.

Closes #26, closes #25, closes #23 and closes #21.