Separate the parser code into a new class, and add some sort of caching.
Separate the parser code into a new class, and add some sort of caching.