linking the interface to a controller and stwriting the validation code for SMELLIE run file