Work with command line via class