The start of the server, needs the sending messages functions