a promise-like storage abstraction layer