added class to download remote files to local server using PHP script