refactor to -use- the new class
grouped all xml-consuming orproducing functions togetehr
fixed broken style - visibility of elements wre incorrectly set to 'invisible' rather than hidden