added the view aggregator class + tests