Revert "Removed Stat classes until compilable"

This reverts commit f3103c5483a536933796cbd1080e615e84852c46.
Removed Stat classes while not compilable.