Moved CLI parsing to argparse module to allow optional processor count