Remove useless file
Extract metrics to functions
Extract metrics to module
Just an en passant refactoring
Merge pull request #1 from israelst/metrics/extract-to-metrics-module

Extract to metrics module