Added some comments/documentation to PHP classes