State Machine and Ported Animatics Motor

I implemented a prototype state machine.
I ported the animatics controller from the old code.
This could use a period and maybe a description of what "resetting the motors" means.