Mostly functional table view.
Refactor table view.