Builder pattern for setting up relays