tweak metronome settings changes; refactor metronome into class