main route and view created