Tidy up project definition. Add deployment repositories.