I would recommend that you use a different program to create your vector lines. One that specialises on vector images which then most likely will allow you to export to .dwg or .dxf.
Making an .ai importer would not be a quick and easy task. The .ai can be in the shape of a .pdf file format if it's saved with .pdf compatibility. But it might not.