Stats.php

Something I have been working on my free time. I don't think I can do it myself so I am opening it up to the over contributors.