Data Aggregation Phase 4

Aggregation for unaggregated time ranges works. Next step is to enable scheduling and notifications.