made chord factory and chordDirective able to manage chords in sequence