Closes #17 and separated out the functionality of adding a new entry to the localStorage.