that explains the cost... they got paid a dollar per line of code.
I can easily turn a one line c# statement into 10 or 20 lines
My guess is two years and a trillion dollars to fix...