moving index.js to lib/

it just make more sense
Merge pull request #16 from tcarlsen/rearrange

moving index.js to lib/