Create checkVersion class