move kernel files into kern module.
add scheduler, and trigger scheduler at end of interrupt handler