I'm curious, how did you handle dwg files? I understand they can be quite complex.
Numerous libraries support parsing .dwg files. Autodesk provides a JavaScript library, though under fairly restrictive terms.
We had them export to pdf, then imported them. Our system stored pdf objects for display. Since it was a migration, backwards compatibility was irrelevant.