removed static usage from metrics.cs and depending files
Added use of context instead of class name in MetricName.cs and depending files