simple mqtt client with mongo