dirty patching working - now needs optimization
removed old book database driver