Added basic table view functionality