major code rearrangements & alterations to perform paired end data trimming