added a configuration file for the database
changes to the mongodb configuration to avoid warning messages