rename db file and fix exports, add example to app.js