legacy system integration AI