Architecture of the system