Function for sending a message to a room
Set main ns for repl