Adding example code on how to use emit/response messages