Relay

Added code to test relay