added clientside Metrics.aggregate
added metrics-aggregations into the project