added command line parsing to hunt-server