rename metricserver => metricsserver; minor refactor of the metrics server