integrated the simple index routing in the app.js file, remove complexity