added chord.js
abstract toNote functionality to new toObject module
starting on chords