Callback functionality for CRUD operations

Hi, i noticed you also wanted to pass back return values from the db crud operations. I've solved it by defining interfaces for each operation and adding an extra argument to each operation in order to pass a pointer to the caller.