made configs private to server and client