Added --port and --cache command line options