Initial configuration to use MongoDB