Legacy modernization for insurance