setup server.