getKernel in Application