Added comments to PHP files, edited README.md