7 aspects to consider before migrating legacy applications