started the server code