Fast and simple Finite State Machine library