Transformation for E-commerce Legacy Technology with AI