some refactoring of interface_methods.rb and display methods
refactored map_hash method of Hash in graph.rb
introduces layer_attributes method in GraphDisplay