Main directory source files, including the core include.

These need some formatting attention.