read directory modules as index.js in the directory