added doc blocks where needed
Merge pull request #3 from jimroh/documentation

added doc blocks where needed