feat: support index.js for folder modules