11:38 am, compiles and executes on Linux (previous version did not execute on mac, contrary to what I thought).
Cannot instantiate a  classes within a method on Linux if the class/struct is defined inside
the method. So I took a few definitions and put them in the include file. . Strange.