Move StatsD to its own class