database library, just for fun. some ideas that is interesting to implement without patching foreign libs.