Thrift Service - need to reperesent relations and their apis