Added relationship type handle
updated the constructor class to provide methods to hanldle the relationship types