Added command line argument handling

removed NDesk.Options code, couldn't get it to work, wrote my own code
instead to handle arguments.