Add conditon
Add Curl factory
Use Curl instead of file_get_contents
Require kdyby/curl
Catch CurlException
Create URL factory