adding r to pojects
settting up routes and views