Add initial MongoDB stuff and make calls use HTTPS