RWHTML parser architecture redesign