class demo on routes and views