add version class parameter

Allow version parameter to ease version specification via hiera.