updated app controller to return clusters, failures and files to remove; updated tests to conform