replace simple-storage by sqlite