Added local storage. Now on to bug fixes