Spatial programming using smart messages: design and implementation | Synapse