Split Generator to its own file in kerneltools module