Broke down the storage interface
Change the way memory and db storage works.
Need to switch this to async