added interrupts idea
added thread creation