Save v9: misc data jsonized , cleanup and moved functions to appropriate files