created new cli.rb file for CLI