start parsing command line arguments