Refactor HALPaperParser