Add mongodb database using pymongo