allow server url to be passed in
use string instead of *string
fix README