Relationships should be a yaml lists, cleanup of debug prents and
some PEP8 fixes.