seperate server config from client