document as base class
cleanup properties on config representable
Merge pull request #10 from amco/refactor-document-as-class

Document as base class, fixes #9