stats commit

Commiting stats to the svn
Update with full code
updateing to avoid losing code
added all the read and write code for the stats and race class