added RideStateMachine
added config, changed debug_log, imports