made database information to be configurable in order to switch to use mongolab