init server with stub