Changed the tableview controller to view controller and added a tabbar at the bottom