uses validate in dependencies directory in repository. Also now returns output and result number back to planductor-web