First draft of switch. Can connect and send corectly formatted message to bregell communication server