Adds a working save function
Selecting, moving and scaling objects in the editor is working