passing app as isolate data, variables moved to app instance