minimal documenting types

also removed some unused code
Merge pull request #22 from wfreeman/doctypes

minimal documenting types