Add documentation and comments to all files
Merge pull request #105 from dsinkey/master

Add documentation and comments to all files