Move app deployment to payload controller