Renamed the message class in the simulation example to message json and created a new, more general message class for the server.