set up sword client