relay class ready

unit tests complete

Signed-off-by: Jonathan Galpin <jonathan@iqzero.net>