New Timer class (reworked)