created some self-scaling features in MusicScale. Refactored other code.