updated routes.js and index page, so that the links work after modifying file structure