update copyright
update php-doc
update namespace
add tests
update doc