Introduction of Parser class (for token tracking)