rFSM is a lightweight Statechart implementation in Lua