MAde more progress on the Stats class
Fixing ditry work tree problem
Made progress on the Stats class