Refactoring more note matrix material
Fixed synchronization of note matrix and staff objects.
Refactoring Controller class distribution