removed factory-pattern from composer.json