Fixed some bugs with db CRUD operations and callbacks.
Updated readme.