Added utility class for finding the most matching version