Fix runtime errors - missing import and typos
Hey, the current dev branch has typos and imports missing that prevent it from running. Also the yaml loader needs to be changed to unsafe to work with pathlibs.
Only with this changes does the relay work.
I can split the changes if you like, but think they all go to the same cause of