Add comments to functions

Signed-off-by: Gowrishankar Rajaiyan <gsr@redhat.com>
Merge pull request #36 from gsr-shanks/dev

Add comments to functions