Title: Software architecture for a multi-level real-time system