Made StatsPublisher reusable so we can use it in the Controller