Remove autogenerated files.
Add script to download references from a git repo.
Tidy up the repository