adding pages and templates directory to views folder
setting up routes