rename relay to commrelay to match the constructor name and fixup a bunch of things with constructbase