local storage factory

local storage factory fnished