refactoring methods from base table view controller to categories
This is done to ensure the use of view controllers can have same functionality without need for subclassing