Added support for Swift (work in progress)

Added preliminary support for swift deployments in examples.