remove unused public properties from registry
remove context from metric value source, refactor metricscontext to be an interface