more features added

classes now can respond to mouse events to add an attribute or a method
as well as to delete them