added HRepository as a GenericDAO class