thread for server setup