Ai based application modernization