moved xml_reader into the header
added 'server_port' field in config