Added Tabs and switching views.