fix some embedded corner cases
fix relationship container lookups. fixes #4.
fix relationships cp type lookup