Ignore composer.lock
Extracted HTML parser
Added getter for document
Restore state of sublings