Added some initial documentation in comments (issue #6)