add xml->java reference for entities (types/type) + listeners (instance-listeners/instance-listener)