Move CL stuff to other files and start writing real kernel