Split inner classes out into their own modules, and add a StateMachine to track state during table parsing.
StateMachine predicate methods
Early work on StateMachine transitions.