Main enty of the kernel