Reorganize classes.
Rename `StatsCollector` to `StatCollector`.