Refactoring haproxy module.