basic setup for swift client