Extracted business logic out of signal handler functions Consolidated state variables into a single struct Implemented var types
Extracted business logic out of signal handler functions Consolidated state variables into a single struct Implemented var types