Factoring Database Configuration Out of App.js