[gapDetect] use classes for parsing ts