set up server stuff