Oh object-oriented programming you say? Good point! :-)

Fixed all above plus creating new Foreman::Version class. Unfortunately I need to load it in settings.rb which is very early code using this:

     require './lib/foreman/version'

Is that fine?