Started implementing the API also for Swift