Remove swift code

As we move to the data model, I will be moving
more and more code out of the coi module.

This commit removes all of the swift code.