Add CPU number detection
Register timer interrupt for context switching (not working). Refactor interrupts.