Add more convinient state machine build method

e.g. transition from multiple state to single state perferm multiple method action or transition from single state to multiple state peform multiple method action
add more api