Added PHP docs to all classes and functions