Split kernels into separate module