Put app initialization functions in initialize-app helper.