Added Relation UI and domain. Serializatio remains

UI and types for DomainGenerator Relations.
Remaining possibility to deserialize old files and generate new domains.