Move StatsCalculator into the lib (out of the test)
Add StatsReporter namespacing
Fix the 'some stats exist' step's regex