Extracted Mongo connection into IoC