added a descructor and a setScale method to visualization