Suspend Governor: Move all related functions into the module, added early suspend handler