adds XML configuration functionality