Changed example to use string instead of int it the first argument of api.Newserver()