Implement histogram summary metric.  Re-org things to fit nicer.