added routes and layouts