new html builder

a lot of TODO: added - should be fixed