finally made the MongoRepository available.