implemented basic metronome w/gui