Factories and health checks for connecting to mongoDB from dropwizard.