Aded php-config dependency
Better folder class structure
Refactored rendering pipeline