Comments

Included comments in the PHP class file.
Also added the 'debug' parameter to the configuration variable.