Add relation generator

Add basic support for creating relationships. This could use a better default for the `asPropertyName`.

/to @bajtos