relation editor: use a public constructor, remove UI file

rename file according to class name
[custom widgets] add relation reference