CommandArgsParser function

R6 Class for parsing command-line arguments