Added comments to the php files