added class cmd_args for cmd line option processing