MQTT code cleanup, build system integration, ...