fix formatting issue
prepare hierarchical state support
Basic hierarchical state machine function
allow user define its own keywords
update keyword id
fix hierarchical state transition bug and add test cases