updated initArgs to return the parser class not a dict