Create Factory Class

The Totalizer Factory makes it easy to create a summary of your metrics.
The Factory can be configured with durations and start date. The build
method accepts the same options used when creating a metric.