move some stuff to init
rename write tag to engraveTag for consistency, trim values on attributes
group siblings with same classnames together, closes #8
elements might have multiple classes