Refactored storage module.
Set up a backup system for the editor using localStorage.