adding mostly untested but compilable relay node code