[feature/localforage] Modified every method to work with localforage.