Make generator responsible for cleanup and copying the APK