Partial changes to manage relationships tab to introduce Class object, work in progress.