Created the stats system.