Add command line arguments parsing.