Various changes to organization and writeup generation
General updates to testing and writeup scripts.