Added local storage adapter