added routes and html layout