Add (half) working implementation of interrupts.