Command line argument parsing implemented.~