ValidationResultFactory has been moved into models folder and updated.