modified table file to be more sane.
started to rough out the build algorithm.  Plenty rough, actually.