changed ParseArgs from a class to a function called arg_parser()