Harshit & Kiran | Changed rawQuery to queryUniqueResult and also added a queryList method. Created RelationKind js object.