mongoose needs to be initialized before app is being initialized.