timers enhancement

improved timers performance by introducing rb tree