Transform parse tree into domain objects
Implement visitor pattern and update HTML to use it