Moving validation code to external project