Initial commit for Swift conversion