How to modernize legacy healthcare software