Cleaned up how stats are stored.
Merge pull request #10 from 0x277F/game-engine

Added stats framework