Move operting version getting to its own class