Parsing the chords and keys. Closes #3