Factored out TableViewDataSource methods into a new class ArrayDataSource