High performance state machine library for Java