add SMC(state machine complier)
updata KK and integrate spine runtime