Remove out of date and non-essential code, docs.

Clean up source formatting.