only saving demo events to DB to address space issue on BlueMix and replaced mosquitto with Paho