Refactor to support multi-metrics.
Remove ActiveSupport dependency.
Specs.
Add some docs.