Introduced the module pattern and exposed only necessary functions
Merge pull request #11 from sanjaypavan/master

Introduced the module pattern and exposed only necessary functions