Refactor 'Timer' internals so they don't depend on STM anymore. Small adjustment to 'DrumMachine'.