ResultAggregator impl
Refactoring
Made resources generic
Fix intcell bug