Fix some errors
Dom test
Add dom composer
Update composer and build