Moved storage functions to a service
Binding to local storage added
Cleanup and documentation of last commit
Storage fix for different item kinds