break xml176document out into its own classfile