Moved SendMessage() to its own file. First test sends are working