Working, scheduler code stripped out
deleted out paho code