Move generic aggregators to the generator package to keep just the graph-specific aggregators in the aggregator package