add command line option support, client launcher