- Rename and restructure event-related functions and data structures
- Introduce unique_ptr for automatic memory management of event arguments
- Add new event types and update existing ones
- Modify telemetry and host communication threads to use new event system
- Remove redundant code and optimize data handling