Updates to test runner and equipment model.

The config and environment are now separate.
More model methods.
Few bug fixes.