Add abstract base class for parsers