impl: use local storage instead of sync storage
Closes #6