Added LocalStorage factory
Fixed current code to use the localStorage factory
Workspace