close #26 - organize project
Move index.js to ./lib/ directory

See #29 and #26

Refactor index.js to be inside the /lib directory
Merge pull request #29 from pgilad/master

close #26 - organize project