Implement Event Processing with iNode, iState and iFSM.