Install state machine gem