added a new cmdline option to control the url basepath + updated the usage message