added comments and documentation...
Merge pull request #1 from girish946/base

added comments and documentation...