Include mongo at the right place
managed provider initialization state a top class level