The app is created by calling a function.