add the read configuration from xml and url etc.