restructured php api docu sections