added main table view and related controller