Add function "server" to start up HTTP server