added rich client to make calls to client less verbose in a scala environment.