config handler now common class used by both server and client