A simple, powerfull, efficient Hierarchical State Machine Library