Initial creation of kernel