Refactor of VisualMusicModel