Add versions compatibility checking in main class