improved Timer class. Added code toward L1 MCU support