Xml task reading and mqtt client hookup