move struct out of appInstance