initial commit of the aggregations module

Closes #3300