Track parsing, a Pitch class, and some refactoring