Change class name GlobalScheduler to GlobalTimer. Implement it with observer pattern.