Added import-export functionality to editor. Changed autosave to use file-api