Test for auto state machine

updated the state machine to be enum ran and move to positions flat
instead of loading multiple moves.