Added local storage
Added a loader