update index.js for exporting classes
Merge remote-tracking branch 'origin/master'