Added views folder  and amended main_page.js