Simple xml generating class