draft for DOM stuff
*stuff unfinished
*still unfinished
working dom parser
requires new templates