added statistics scripts and modified other scripts for quickly loading JSON and writing out relevant stats to CSV