Splitting code complete. Untested.
Added second class functions to the splitting section.
added some whole-program examples