Added tableview indexes

I added the necessary code for and indexed tableview.
Also updated project settings to recommended settings.