Move stats to a seperate file.
Move the graphs to their own file too.