refactored label and pull-request classes