Fixed a few bad references
Working import chains
Fixed many of the typos and brainos.

This seems to be the first somewhat working version.