Refactor to follow the new architecture of Thelia2 Coupon module