updated current functionality to use Mongo Configs