Decoupled argument parsing to use argparse library