u/danielw/dm-1395

Creating PR for reviewing DM-1395
Oh, the commented out lines? I should take those out.
If you're asking why we convert the swig targets to file nodes, well, I think there were some reasons related to how we were handling the installation phase. But I think we can clean this part up, so I did.