added main file for the mqtt intermediary program