Added command line parser for -p(ort) and --pipe arguments.