A finite state machine framework for LUA, ported from javascript-state-machine