added db to app.js
added model/db.js