Created state machine server.