Make table builder more functional.

* Do not set state
* This prevents us from needing to build the table and display it in
  multiple steps, storing the state during the build, thus reducing
  the complexity of managing the internal state </Rich Hickey>
Consistent naming for module calls.