Simple Metronome class