Add LOTS of old code.

This is basically the initial commit.