Added metronome output and getters inside code.