Most of IRQ stuff setup