extract package.json config into config.json
extract db conection from server.js to db.js
restore and update app.js
fix unclosed parentheses error
port to mongojs