Modified Kernel code
Refactored code. Moved screen related code to own files.