Added system controller for handling system events