moving index.js into bin