code for the node and code for the main brain for thesis project "EMULATIVE EMERGENCE" a kinetic networked installation