connect database.js with app.js, add in callbacks
Merge branch 'master' of https://github.com/earl93/Qube