Added Histogram Aggregator functionality.

Added the Histogram Aggregator and made it so it can be used from the UI page.