updated to Swift
added swift files