set root, set views.