Would be nice to somehow remove the need for this file, and get it executed from the component. The problem would be determining where the user has placed the AppKernel.