Implemented argparse to parse command line options