Figure 2: Schematics and logical stages of the system.