Added structure for storage layer: session cache and localStorage.