Refactor IDT and interrupt handler

Use macros to create IDT and handler