set up table and tab view controller