change modularization in routes/index.js