tableview added to the main controller view.