Made the main pages and added the routes