Added Stats class
Revert "Added Stats class"

This reverts commit a9ba7ebb9be9e4ee02ee8d71119a3394e91efa82.
Revert "Revert "Added Stats class""

This reverts commit c1daaba5080a9b27be8911674330388dc32eb24a.