creating views and routers structure