[MongoDB] Back to Repository and using MongoRepository to enable mongoDB