Implement accounting API to use go-metrics

Implement the accounting API to use go-metrics
(https://github.com/rcrowley/go-metrics)