Metric fixing

a bit of metrics + first pass of couch service tests
This definitely seems a lot clearer now.