aggregator initial implementation, with config parser refactor