Extract parsers and pn to ease the creation of future tools