* added phpdoc comments
* added parameter "namespaces"