DOM Builder and Serializer
WORK IN PROGRESS