changed timers header, using struct with bitfields instead of functions