Refactoring and cleanup in the Metrics module:
 * Removed logging related code inside class MetricsManager
 * Removed @Component related code, because it is not suppose to be used
   as an component.
 * Added a new class-wrapper so the Metrics can be used as a loadable service:
   MetricsManagerComponent. The name and the location of this class
   will be refactored in the future.
 * Added new method MetricsManager.removeMetric()
 * Line formatting
 * Changed "interface MetricsService" to public
diff --git a/core/net/src/main/java/org/onlab/onos/impl/MetricsManagerComponent.java b/core/net/src/main/java/org/onlab/onos/impl/MetricsManagerComponent.java
new file mode 100644
index 0000000..de47635
--- /dev/null
+++ b/core/net/src/main/java/org/onlab/onos/impl/MetricsManagerComponent.java
@@ -0,0 +1,26 @@
+package org.onlab.onos.impl;
+
+import org.apache.felix.scr.annotations.Activate;
+import org.apache.felix.scr.annotations.Component;
+import org.apache.felix.scr.annotations.Deactivate;
+import org.apache.felix.scr.annotations.Service;
+
+import org.onlab.metrics.MetricsManager;
+
+/**
+ * Metrics service implementation.
+ */
+@Component(immediate = true)
+@Service
+public class MetricsManagerComponent extends MetricsManager {
+
+    @Activate
+    protected void activate() {
+        super.clear();
+    }
+
+    @Deactivate
+    protected void deactivate() {
+        super.clear();
+    }
+}