Changed the system to save a json file every second so we will not have contentions issues
Some formating changes
Cleanup
Cleanup