Create mongoAPI.py