Add finite state machine driver