Refactor resque-metrics server