Initial version of local storage wrapper. Should have the basic functionality covered now.