Added meta_stats.py and stats.py, formatted a whole bunch of files