implements some chords method, add a basic demo for chords