Create relationship generator