Refactoring the control structure.
Interfacing the parser with the control structure.