moved the kernel execute stuff to its own file