move stats to a tiny subpackage