Abstracts localstorage with namespacing, default values, and basic string casting.