Added support for keyboard input, chord quality and harmonic function exercises.