DomWorld - state machine version

Currently implementing a DomWorld inspired state machine sim.
Next steps: reducing size