Legacy code documentation tool