Created pagescontroller , created pages view folder and homepage view. modified routes and app&database config