Some helper classes

help tally up category with most items purchased per user
help calculate total revenue per quater per user