move all definitions to one header

Kernagic is small and doesn't need much more header structuring than this.