Added better cli arg parser.

Added options to enable/disable the static file server and UPnP.