Mongo init and console support