is the get_stdout thing needed :? 

Isn't good enough with just:

```ruby
cli = Msfcli.new(args.split(' '))
m = cli.init_modules
```

On the other hand, maybe ```m= ''``` initialization isn't needed