Work on bug #7574.  The input tables are done.
More work on bug #7574.  The output tables are now done.
This fixes #7475.  The base class is all in place now.
Fixed some style errors for bug #7574.