A superior statemachine library for php >= 5.3