Reworked rendering a bit.
Docs.
Renamed php renderer.