Refactor and started implementation of BomChecker with XPath