ArgParser is used to parse the command line arguments for a java application