add missing directories
add phpunit.xml
reformat code