used ejs templating to reduce redundany in html, moved images, edited index routing