init the server