install state machine module