replayer: extract command line related features as other class