1. A system architecture for communication between a plurality of devices connected to each other through a network comprising a multi-level hierarchy, each device having at least one service which provides a set of functions for controlling and/or monitoring the device, the system architecture comprising: at least one communication module configured to enable a service of a first device to detect the presence of a second device, to detect the presence of a service of the second device, to retrieve information about the functions of the service of the second device, arrange with the first device services of the first device and services of the second device into the multi-level hierarchy, wherein either the first device is the parent of the second device or the second device is a parent of the first device, generate messages with at least one of the first device and the second device and transmit the messages to another of the first device and the second device, wherein the information about functions and the messages are received only by devices that have a same parent as the first device or the second device and by the parent of the first device and the second device, and to invoke a function of the service of the second device, wherein the first and second device are interchangeable, at least to detect, to retrieve information and to invoke.