Refactored NetMetrics calls into a mixin

Created NetMetrics spec