Update easyCurl.php

oop desing