Legacy System Modernization: Approaches, Costs and Risks