A localStorage Class