Adding aggregation config/setting, task, scheduler, db handler.