Reorganized Metrics service

Reorganized metrics service into a basic and extended usecases.  Additionally fixed issues with static configurations and invalid handling of mutating values on iterators.

This fixes the problems brought up in Issue #8