working on the stats class, not yet done!
Rewrote the statistics class. Now implement this with the stats activity.