An asynchronous database abstraction layer