Implemented groundwork for sending messages from simulation to worker.