decoupled the data by forcing the data to be passed initially through server.js then app.js and then routes/index.js