cli.rb added
tidying up