Integrated Parser to main program