Add a main to metronome.py