PHP Doc updates

Laid out the basic structures and cleanup for phpdoc