Moving most of the table view from storyboard to code because supporting showing/hiding sections with a switch isn't really easy with storyboards.