Added Pymongo parts to wavexter.py