added basic barebones for local storage