Mongo bean based configuration