PHP Coolie Task Factory