Created relationships controller.