added initial callback and communication path over mqtt