Add the basic state machine.
Add the basic state machine.

The main and scripts would need to be reorganized by a lot if we want to use this in an asynchronous pipeline...

clawoflight/aursec,clawoflight/aursec