Added the storage and retrival code
Modified the local storage code