update dat MQTT.py to have config dictionary