Version class generator