add pagescontroller and index,create views