- Add transport layer abstraction for COM and UDP communication - Refactor handler definitions and processing logic - Improve error handling and logging - Remove unnecessary global variables and pthread usage