StreamLined the parsing module by encapsulating it in a class.