pianoroll refactored. addtion new feature