Refactor implementation

Remove dependency in Note type, voice and staff properties