What is the job of a kernel?