Add an AppKernel class to handle requests