Creating a Client in Scala