added a drawing element class registry
improved multiple selection
added a special id wrapper