Version class implementation