Delete unused function
Refactor and reorganize tables.jl

The most substantial change here is to make addColumn take a type
instead of a string. This accompanies a refactor that makes the C code
use C++ templates.