MVC architecture

It would also be appropriate to place the ssh.rb file in the lib/ directory. Placing it in app/models/ is fine. It's just a matter of preference.