save to local storage

created a save to local storage object to save and get items from local
storage
TODO check if it works both with strings and objects