Refactoring.
Implementing and testing keyboard input and local APIC timer.