Kernel framework