rewrite of chord module
removing old chords module