add Metronome Class
put a Metronome into main program, not tested yet.

Cow blesses us! Holy Cow please let it works!