create and update to localstorage
I committed sooo much bad code, also implemented find