removed friend relationship for source-sample, added api for read-only data access