added connfig.py and code to connect mongoDB