Split koutput into its own header, redistributed headers among the modules and removed include
Made interrupts into a separate encapsulated module