Committing initial thoughts on how distributaries can export their info
to the kernel. Also moved some code out of headers into source files.