add aggregation module and UT for aggregation and timeserie