Moved composer out of the php class and into his own class