Further steps towards BTG Aggregation

* BTG count is configurable
* Aggregator class is configurable
* Added a simple tests