Add mongodb database to ioc as constant