PHP class for accessing the morguefile.com API