Moving data to localStorage to simulate db.
Moving data to localStorage to simulate db.