Move trt stuff to a new module
Add summarize method
Do both filtering and summarizing in one go