initial work to parse command line arguments