add line after <?php
add factory for the intl listener
add tests