add src and tgt types to rel types. Modules for grouping type defs