document classes and defines
Merge pull request #2 from antonlindstrom/resource-documentation-1

document classes and defines