updated separation of concepts between routes and views