kernel: Break header data into .h file

Bring defines and structs out into their own .h file.