update to work with swift
update readme