Refactor parsing to split out the headers and the data segments. DES is still to go.