Added relationship API and privacy schema