Extract the app registry into its own class/file