added @phpdoc method description, renamed method, removed some blank lines
chaned curl fetch to internal RFS, removed excessive checks