Further changes in neming convention.

Start to refactor the kernel code to have a better file layout.