Using localStorage

Cleaning up some extra junk, creating new object for results and storing in localStorage.