Pre-draft state. Working, but subject to change. Added new State Machine manager and created a new utils file. Added State Machine example code.