Improve db API
Remove bundle.js