* implemented nikic's router.
* phpdoc refactors.