Add aggregation parsing add cursor creation