StateMachine: Move static defs outside class

Signed-off-by: Chris Evich <chris-cxx@anonomail.me>