added metronome object, is now functional