Added base_edx.py which is used to connect to MongoDB database by just passing required collections