Simplify database api.
Reimplement database create storage api using monadic pipe.
Add transaction abstraction removing repeated code from high level api.