why modernize legacy applications