Legacy system transformation