Finite State Machine Template added