Needed changes

I split the kernel into several "modules". Instead of making a window
enviroment with CCLights2, I am making one to be used with the terminal.