Included extensive comments on library code.
Merge pull request #3 from villanuevawill/master

Included extensive comments on library code.