removed callbacks from db persistence storage. refactored registration to use a delegate