small fixes
fix git conflicts
use define_method instead of manualy defining methods
use case instead of if/else in get_version