extract Storage.js, update deps
extract save functionality to Storage
refactor commands.js