Built functions in PHP engine.

Added Various new comments, also.