added server config reading