Major changes to core simulation and model elements

I also began separating the simulator classes from the project specific
classes.  These changes are not done yet.
The Application is in running order.