Refactor the code to de-couple the Extractor and Parsers.