Figure 4:
Main Workflow of the Parser.