Repository tidying and documenting