Implements all todo in music.note, add some basic tests