first pass at documentation

this partially addresses #11.