factor ComponentDocument material into HTMLComponents repository